package com.zy.dao.bs;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.zy.dao.base.BaseDao;
import com.zy.entity.bs.Bbs;
import com.zy.pojo.query.bs.BbsQuery;

public interface BbsDao extends BaseDao<Bbs> {

	List<Bbs> listBbs(@Param("bbsQuery") BbsQuery bbsQuery, @Param("start") Integer start, @Param("limit") Integer limit);

	long countBbs(@Param("bbsQuery") BbsQuery bbsQuery);

	List<Bbs> appListBbs(@Param("bbsQuery") BbsQuery bbsQuery, @Param("start") Integer start, @Param("limit") Integer limit);

	long appCountBbs(@Param("bbsQuery") BbsQuery bbsQuery);

}